package com.holyant.report.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 货币趋势dto
 *
 * @author fkmalls
 * @date 2022-08-03
 */
@Data
@ApiModel("货币趋势")
public class RptCurrencyTrendExcelDto {

    private static final long serialVersionUID = 1L;

    private Long id;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;
    /** 上涨下跌的基数（0正常数，1基准数） */
    @Excel(name = "基数")
    @ApiModelProperty(value = "上涨下跌的基数")
    private String upDownBaseString;
    private Integer upDownBase;

    /** 审核状态： 0待审核，1已审核 */
    @Excel(name = "状态")
    @ApiModelProperty(value = "审核状态： 0待审核，1已审核")
    private String auditStatusString;
    private Integer auditStatus;
    /** 创建人 */
    @Excel(name = "记录人")
    @ApiModelProperty(value = "创建人")
    private String createBy;

    private List<List<RptCurrencyTrendItemDto>> items; //按类型分组排序的item
}
